.money-container {
  min-height: 100vh;
  background: #f5f5f5;
  padding-bottom: 20px;
}

.money-navbar {
  background: linear-gradient(135deg, #ff6b6b 0%, #ee5a52 100%);
  color: white;
  --adm-color-text: white;
  --adm-nav-bar-back-arrow-color: white;
  --adm-nav-bar-title-color: white;
  font-weight: 600;
  font-size: 18px;
}

.money-content {
  padding: 16px;
  padding-top: 0;
}

.money-loading,
.money-error {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 50vh;
  font-size: 16px;
  color: #666;
}

/* 余额卡片样式 */
.balance-card {
  background: linear-gradient(135deg, #ff6b6b 0%, #ee5a52 100%);
  border-radius: 16px;
  margin-bottom: 16px;
  padding: 24px;
  color: white;
  box-shadow: 0 8px 32px rgba(255, 107, 107, 0.3);
  position: relative;
  overflow: hidden;
}

.balance-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.balance-header {
  position: relative;
  z-index: 1;
}

.balance-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  font-size: 14px;
  opacity: 0.9;
}

.balance-toggle {
  cursor: pointer;
  padding: 4px;
  border-radius: 50%;
  transition: background-color 0.3s ease;
}

.balance-toggle:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.balance-amount {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 20px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}





/* 交易明细样式 */
.transaction-card {
  border-radius: 16px;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
  overflow: hidden;
}

.transaction-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-bottom: 1px solid #f0f0f0;
}

.transaction-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 600;
  color: #333;
}

.transaction-title svg {
  font-size: 18px;
  color: #ff6b6b;
}

.more-btn {
  color: #ff6b6b;
  font-size: 13px;
  --adm-color-text: #ff6b6b;
}

.transaction-list {
  padding: 0;
}

.transaction-list .adm-list-item {
  padding: 16px 20px;
  border-bottom: 1px solid #f5f5f5;
  align-items: flex-start;
}

.transaction-list .adm-list-item:last-child {
  border-bottom: none;
}

.transaction-icon {
  font-size: 20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 107, 107, 0.1);
  margin-right: 12px;
  flex-shrink: 0;
}

.transaction-list .adm-list-item-content {
  flex: 1;
  min-width: 0;
}

.transaction-list .adm-list-item-content-main {
  margin-bottom: 4px;
}

.transaction-title {
  font-size: 15px;
  font-weight: 500;
  color: #333;
  margin-bottom: 4px;
}

.transaction-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.transaction-subtitle {
  font-size: 13px;
  color: #666;
  line-height: 1.3;
}

.transaction-time {
  font-size: 12px;
  color: #999;
}

.transaction-amount-section {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  flex-shrink: 0;
  margin-left: 8px;
}

.transaction-amount {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
}

.transaction-amount.income {
  color: #52c41a;
}

.transaction-amount.expense {
  color: #f5222d;
}

.transaction-status {
  font-size: 11px;
  padding: 2px 6px;
  border-radius: 4px;
  line-height: 1.2;
}

/* 空状态样式 */
.transaction-list .adm-empty {
  padding: 40px 20px;
}

.transaction-list .adm-empty-description {
  color: #999;
  font-size: 14px;
  margin-top: 12px;
}

/* 下拉刷新样式 */
.adm-pull-to-refresh-indicator {
  color: #ff6b6b;
}

/* 响应式设计 */
@media (max-width: 375px) {
  .money-content {
    padding: 12px;
  }
  
  .balance-card {
    padding: 20px;
  }
  
  .balance-amount {
    font-size: 32px;
  }
  

  
  .transaction-header {
    padding: 16px;
  }
  
  .transaction-list .adm-list-item {
    padding: 12px 16px;
  }
}

/* 暗黑模式适配 */
@media (prefers-color-scheme: dark) {
  .money-container {
    background: #141414;
  }
  
  .transaction-card {
    background: #1f1f1f;
    border: 1px solid #333;
  }
  
  .transaction-header {
    background: linear-gradient(135deg, #2a2a2a 0%, #1f1f1f 100%);
    border-bottom: 1px solid #333;
  }
  
  .transaction-title {
    color: #fff;
  }
  
  .transaction-list .adm-list-item {
    border-bottom: 1px solid #333;
  }
  
  .transaction-title {
    color: #fff;
  }
  
  .transaction-subtitle {
    color: #999;
  }
  
  .transaction-time {
    color: #666;
  }
}

/* 动画效果 */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.balance-card,
.transaction-card {
  animation: fadeInUp 0.5s ease-out;
}

.balance-card {
  animation-delay: 0.1s;
}

.transaction-card {
  animation-delay: 0.2s;
}

/* 卡片阴影动画 */
.balance-card:hover {
  box-shadow: 0 12px 40px rgba(255, 107, 107, 0.4);
  transform: translateY(-2px);
  transition: all 0.3s ease;
}

.transaction-card:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transform: translateY(-1px);
  transition: all 0.3s ease;
} 